package entities;

import java.io.Serializable;

import javax.persistence.Id;

import com.googlecode.objectify.annotation.Indexed;
import com.googlecode.objectify.annotation.Unindexed;

public class Webmail implements Serializable {
	@Id
	private String id = "";
	
	@Unindexed
	private int count = 0;
	
	@Indexed
	private int status = 0; //0: Not send, 1: waiting, 2: sending, 3: finished

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public int getCount() {
		return count;
	}

	public void setCount(int count) {
		this.count = count;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}
}
